//
//  SettingTableViewCell.m
//  GiftNote
//
//  Created by wsh on 15/8/24.
//  Copyright (c) 2015年 GN. All rights reserved.
//

#import "SettingTableViewCell.h"

@implementation SettingTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        _leftLabel = [[UILabel alloc] initWithFrame:CGRectMake(30, 10, 100, 30)];
        [self.contentView addSubview:_leftLabel];
        
        _rigthLabel = [[UILabel alloc] initWithFrame:CGRectMake([UIScreen mainScreen].bounds.size.width - 200, 10, 170, 30)];
        _rigthLabel.textAlignment = NSTextAlignmentRight;
        [self.contentView addSubview:_rigthLabel];
        
        _rightView = [[UIImageView alloc] initWithFrame:CGRectMake([UIScreen mainScreen].bounds.size.width - 60, 10, 30, 30)];
        [self.contentView addSubview:_rightView];
    }
    return self;
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
